package com.runa.monitor.platinterface.extend.nb.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * #太原电信平台子租户NB设备
 * mqtt.ty.appKey=ZgmLcK1v294
 * mqtt.ty.tenantId=2000423729
 * mqtt.ty.token=jUKOJYSEaPe
 * mqtt.ty.appSecret=J0fj2tmsDE
 * #nb户阀产品id
 * mqtt.ty.houseValveProductId=16991411
 * #nb户阀masterKey
 * mqtt.ty.houseValveMasterKey=5e1076a4ef0046fa8a33b762e88db292
 *
 * #太原黑蚂蚁电信平台子租户NB设备
 * mqtt.tyhmy.appKey=1uJnjnZ8yOc
 * mqtt.tyhmy.tenantId=2000423729
 * mqtt.tyhmy.token=jUKOJYSEaPe
 * mqtt.tyhmy.appSecret=0citBcg6G4
 * #nb户阀产品id
 * mqtt.tyhmy.houseValveProductId=16991120
 * #nb户阀masterKey
 * mqtt.tyhmy.houseValveMasterKey=a6d85f2e730743f580ecbcb835eaf87e
 *
 * #太原海威茨电信平台子租户NB设备
 * mqtt.tyhwz.appKey=g4pAG7uzrAa
 * mqtt.tyhwz.tenantId=2000423729
 * mqtt.tyhwz.token=jUKOJYSEaPe
 * mqtt.tyhwz.appSecret=NeMA7ki360
 * #nb户阀产品id
 * mqtt.tyhwz.houseValveProductId=16989684
 * #nb户阀masterKey
 * mqtt.tyhwz.houseValveMasterKey=05488a73e92247feba79e5b7af23f0bc
 */
@Component
public class TaiYuanCommConfig {

    private static String tyTenantId;
    private static String tyToken;
    private static String tyAppKey;
    private static String tyAppSecret;
    private static String tyHouseValveProductId;
    private static String tyHouseValveMasterKey;

    private static String tyhmyTenantId;
    private static String tyhmyToken;
    private static String tyhmyAppKey;
    private static String tyhmyAppSecret;
    private static String tyhmyHouseValveProductId;
    private static String tyhmyHouseValveMasterKey;

    private static String tyhwzTenantId;
    private static String tyhwzToken;
    private static String tyhwzAppKey;
    private static String tyhwzAppSecret;
    private static String tyhwzHouseValveProductId;
    private static String tyhwzHouseValveMasterKey;

    public static String getTyTenantId() {
        return tyTenantId;
    }

    @Value("${mqtt.ty.tenantId:2000423729}")
    public void setTyTenantId(String tyTenantId) {
        TaiYuanCommConfig.tyTenantId = tyTenantId;
    }

    public static String getTyToken() {
        return tyToken;
    }
    @Value("${mqtt.ty.token:jUKOJYSEaPe}")
    public void setTyToken(String tyToken) {
        TaiYuanCommConfig.tyToken = tyToken;
    }

    public static String getTyAppKey() {
        return tyAppKey;
    }
    @Value("${mqtt.ty.appKey:ZgmLcK1v294}")
    public void setTyAppKey(String tyAppKey) {
        TaiYuanCommConfig.tyAppKey = tyAppKey;
    }

    public static String getTyAppSecret() {
        return tyAppSecret;
    }
    @Value("${mqtt.ty.appSecret:J0fj2tmsDE}")
    public void setTyAppSecret(String tyAppSecret) {
        TaiYuanCommConfig.tyAppSecret = tyAppSecret;
    }

    public static String getTyHouseValveProductId() {
        return tyHouseValveProductId;
    }
    @Value("${mqtt.ty.houseValveProductId:16991411}")
    public void setTyHouseValveProductId(String tyHouseValveProductId) {
        TaiYuanCommConfig.tyHouseValveProductId = tyHouseValveProductId;
    }

    public static String getTyHouseValveMasterKey() {
        return tyHouseValveMasterKey;
    }
    @Value("${mqtt.ty.houseValveMasterKey:5e1076a4ef0046fa8a33b7}")
    public void setTyHouseValveMasterKey(String tyHouseValveMasterKey) {
        TaiYuanCommConfig.tyHouseValveMasterKey = tyHouseValveMasterKey;
    }



    public static String getTyhmyTenantId() {
        return tyhmyTenantId;
    }
    @Value("${mqtt.tyhmy.tenantId:2000423729}")
    public void setTyhmyTenantId(String tyhmyTenantId) {
        TaiYuanCommConfig.tyhmyTenantId = tyhmyTenantId;
    }

    public static String getTyhmyToken() {
        return tyhmyToken;
    }
    @Value("${mqtt.tyhmy.token:jUKOJYSEaPe}")
    public void setTyhmyToken(String tyhmyToken) {
        TaiYuanCommConfig.tyhmyToken = tyhmyToken;
    }

    public static String getTyhmyAppKey() {
        return tyhmyAppKey;
    }
    @Value("${mqtt.tyhmy.appKey:1uJnjnZ8yOc}")
    public void setTyhmyAppKey(String tyhmyAppKey) {
        TaiYuanCommConfig.tyhmyAppKey = tyhmyAppKey;
    }

    public static String getTyhmyAppSecret() {
        return tyhmyAppSecret;
    }
    @Value("${mqtt.tyhmy.appSecret:0citBcg6G4}")
    public void setTyhmyAppSecret(String tyhmyAppSecret) {
        TaiYuanCommConfig.tyhmyAppSecret = tyhmyAppSecret;
    }

    public static String getTyhmyHouseValveProductId() {
        return tyhmyHouseValveProductId;
    }
    @Value("${mqtt.tyhmy.houseValveProductId:16991120}")
    public void setTyhmyHouseValveProductId(String tyhmyHouseValveProductId) {
        TaiYuanCommConfig.tyhmyHouseValveProductId = tyhmyHouseValveProductId;
    }

    public static String getTyhmyHouseValveMasterKey() {
        return tyhmyHouseValveMasterKey;
    }
    @Value("${mqtt.tyhmy.houseValveMasterKey:a6d85f2e730743f580ecbcb835eaf87e}")
    public void setTyhmyHouseValveMasterKey(String tyhmyHouseValveMasterKey) {
        TaiYuanCommConfig.tyhmyHouseValveMasterKey = tyhmyHouseValveMasterKey;
    }





    public static String getTyhwzTenantId() {
        return tyhwzTenantId;
    }
    @Value("${mqtt.tyhwz.tenantId:2000423729}")
    public static void setTyhwzTenantId(String tyhwzTenantId) {
        TaiYuanCommConfig.tyhwzTenantId = tyhwzTenantId;
    }

    public static String getTyhwzToken() {
        return tyhwzToken;
    }
    @Value("${mqtt.tyhwz.token:jUKOJYSEaPe}")
    public void setTyhwzToken(String tyhwzToken) {
        TaiYuanCommConfig.tyhwzToken = tyhwzToken;
    }

    public static String getTyhwzAppKey() {
        return tyhwzAppKey;
    }
    @Value("${mqtt.tyhwz.appKey:g4pAG7uzrAa}")
    public void setTyhwzAppKey(String tyhwzAppKey) {
        TaiYuanCommConfig.tyhwzAppKey = tyhwzAppKey;
    }

    public static String getTyhwzAppSecret() {
        return tyhwzAppSecret;
    }
    @Value("${mqtt.tyhwz.appSecret:NeMA7ki360}")
    public void setTyhwzAppSecret(String tyhwzAppSecret) {
        TaiYuanCommConfig.tyhwzAppSecret = tyhwzAppSecret;
    }

    public static String getTyhwzHouseValveProductId() {
        return tyhwzHouseValveProductId;
    }
    @Value("${mqtt.tyhwz.houseValveProductId:16989684}")
    public void setTyhwzHouseValveProductId(String tyhwzHouseValveProductId) {
        TaiYuanCommConfig.tyhwzHouseValveProductId = tyhwzHouseValveProductId;
    }

    public static String getTyhwzHouseValveMasterKey() {
        return tyhwzHouseValveMasterKey;
    }
    @Value("${mqtt.tyhwz.houseValveMasterKey:05488a73e92247feba79e5b7af23f0bc}")
    public void setTyhwzHouseValveMasterKey(String tyhwzHouseValveMasterKey) {
        TaiYuanCommConfig.tyhwzHouseValveMasterKey = tyhwzHouseValveMasterKey;
    }

}
